package gooner.suntine.ssh.eg.entity;

/**
 * @corporation 
 * @author suntine
 * @creation 2011-5-4 06:10:20 AM
 * @description 
 */
public class Student implements java.io.Serializable {
	
	private static final long serialVersionUID = 1L;
	private long id;
	private String name;
	private int sex;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	//重载方法 方便Struts自动赋值
	public void setId(String id) {
		this.id = "".equals(id)?0l:Long.valueOf(id);
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	
}